import { NestFactory } from "@nestjs/core";
import { AppModule } from "./app.module";

async function bootstrap() {
    const app = await NestFactory.create(AppModule);
    const port = process.env.PORT || 3000;
    console.log("开始监听 port 🙉🙊🙈", port);
    await app.listen(port);
}
bootstrap();
